package com.woniuxy.carlife.carlifeorderweb.controller;


import com.woniuxy.carlife.carlifecommonsweb.responsetemplate.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
*@ClassName:RefoundController
*@Description:所有退款请求相关接口
*@author qk
*@date 2021/4/7 17:50
**/
@RestController
@RequestMapping("//refound")
public class RefoundController {
    /*
     * 功能描述〈查询门店的退款请求〉
     * @author:qk
     * @param:门店id：mid；
     * @return:
     * @Date 2021/4/7 17:51
     * @throws //
     */
    @GetMapping("/merchantmanage/getRefoundOfStore")
    public Result getRefoundOfStore(int mid){
        return new Result();
    }
    /*
     * 功能描述〈新增门店退款请求〉
     * @author:qk
     * @param: 门店id：mid；订单id：oid；
     * @return:
     * @Date 2021/4/7 19:33
     * @throws //
     */
    @PutMapping("/ordinary/addRefoundOfStore")
    public Result addRefoundOfStore(int mid,String oid){
        return new Result();
    }
    /*
     * 功能描述〈删除门店的退款请求〉
     * @author:qk
     * @param:退款请求id：rid
     * @return:
     * @Date 2021/4/7 17:51
     * @throws //
     */
    @GetMapping("/ordinary/delRefoundOfStore")
    public Result delRefoundOfStore(int rid){
        return new Result();
    }
}

